package com.carrentalssm.entity;

import java.sql.Timestamp;

//用户
public class User {

    private String username;//用户名
    private String password;//密码
    private String phone;//手机号
    private Timestamp createDatetime;//注册时间

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Timestamp getCreateDatetime() {
        return createDatetime;
    }

    public void setCreateDatetime(Timestamp createDatetime) {
        this.createDatetime = createDatetime;
    }

    @Override
	public String toString() {
		return "User [username=" + username + ", password=" + password + ", phone=" + phone + ", createDatetime="
				+ createDatetime + "]";
	}

}